package Commands;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ActionListenerBotao implements ActionListener {
	Command c;
	public ActionListenerBotao(Command c) {
		this.c = c;
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		c.execute();
	}

}
